package com.patterns.demo.memento;

/**
 * Author: SamGroves
 * <p>
 * Description: 存储备忘录
 * <p>
 * Date: 2017/12/19
 */
public class Storage {

    private Memento memento;

    public Storage(Memento memento) {
        this.memento = memento;
    }

    public Memento getMemento() {
        return memento;
    }

    public void setMemento(Memento memento) {
        this.memento = memento;
    }
}
